package org.frameworkset.platform.resource;

import java.io.Serializable;

 

public class Resource implements Serializable{
	/** The composite primary key value. */
    private String resId;

    /** The value of the simple restypeId property. */
    private String restypeId;
    
    private String restypeName;

    /** The value of the simple title property. */
    private String title;

    /** The value of the simple roleUsage property. */
    private String roleUsage;

    /** The value of the simple parentId property. */
    private String parentId;

    /** The value of the simple path property. */
    private String path;

    /** The value of the simple marker property. */
    private String marker;

    /** The value of the simple reserved1 property. */
    private String reserved1;

    /** The value of the simple reserved3 property. */
    private String reserved3;

    /** The value of the simple reserved4 property. */
    private String reserved4;

    /** The value of the simple reserved5 property. */
    private String reserved5;

    /** The value of the simple attr1 property. */
    private String attr1;

    /** The value of the simple attr2 property. */
    private String attr2;

    /** The value of the simple attr3 property. */
    private String attr3;

    /** The value of the simple attr4 property. */
    private String attr4;

    /** The value of the simple attr5 property. */
    private String attr5;

    /** The value of the simple attr6 property. */
    private String attr6;

    /** The value of the simple attr7 property. */
    private String attr7;

    /** The value of the simple attr8 property. */
    private String attr8;

    /** The value of the simple attr9 property. */
    private String attr9;

    /** The value of the simple attr10 property. */
    private String attr10;

    /** The value of the simple attr11 property. */
    private String attr11;

    /** The value of the simple attr12 property. */
    private String attr12;

    /** The value of the simple attr13 property. */
    private String attr13;

    /** The value of the simple attr14 property. */
    private String attr14;

    /** The value of the simple attr15 property. */
    private String attr15;

    /** The value of the simple attr16 property. */
    private String attr16;

    /** The value of the simple attr17 property. */
    private String attr17;

    /** The value of the simple attr18 property. */
    private String attr18;

    /** The value of the simple attr19 property. */
    private String attr19;

    /** The value of the simple attr20 property. */
    private String attr20;

    /** The value of the simple attr21 property. */
    private String attr21;

    /** The value of the simple attr22 property. */
    private String attr22;

    /** The value of the simple attr23 property. */
    private String attr23;

    /** The value of the simple attr24 property. */
    private String attr24;

    /** The value of the simple attr25 property. */
    private String attr25;

    /** The value of the simple attr26 property. */
    private String attr26;

    /** The value of the simple attr27 property. */
    private String attr27;

   

    /**
     * Simple constructor of AbstractRes instances.
     */
    public Resource() {
    }

    /**
     * Constructor of AbstractRes instances given a simple primary key.
     * 
     * @param resId
     */
    public Resource(String resId) {
        this.setResId(resId);
    }

    /**
     * Return the simple primary key value that identifies this object.
     * 
     * @return String
     */
    public String getResId() {
        return resId;
    }

    /**
     * Set the simple primary key value that identifies this object.
     * 
     * @param resId
     */
    public void setResId(String resId) {
        this.resId = resId;
    }

    /**
     * Return the value of the RESTYPE_ID column.
     * 
     * @return String
     */
    public String getRestypeId() {
        return this.restypeId;
    }

    /**
     * Set the value of the RESTYPE_ID column.
     * 
     * @param restypeId
     */
    public void setRestypeId(String restypeId) {
        this.restypeId = restypeId;
    }

    /**
     * Return the value of the TITLE column.
     * 
     * @return String
     */
    public String getTitle() {
        return this.title;
    }

    /**
     * Set the value of the TITLE column.
     * 
     * @param title
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * Return the value of the ROLE_USAGE column.
     * 
     * @return String
     */
    public String getRoleUsage() {
        return this.roleUsage;
    }

    /**
     * Set the value of the ROLE_USAGE column.
     * 
     * @param roleUsage
     */
    public void setRoleUsage(String roleUsage) {
        this.roleUsage = roleUsage;
    }

    /**
     * Return the value of the PARENT_ID column.
     * 
     * @return String
     */
    public String getParentId() {
        return this.parentId;
    }

    /**
     * Set the value of the PARENT_ID column.
     * 
     * @param parentId
     */
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    /**
     * Return the value of the PATH column.
     * 
     * @return String
     */
    public String getPath() {
        return this.path;
    }

    /**
     * Set the value of the PATH column.
     * 
     * @param path
     */
    public void setPath(String path) {
        this.path = path;
    }

    /**
     * Return the value of the MARKER column.
     * 
     * @return String
     */
    public String getMarker() {
        return this.marker;
    }

    /**
     * Set the value of the MARKER column.
     * 
     * @param marker
     */
    public void setMarker(String marker) {
        this.marker = marker;
    }

    /**
     * Return the value of the RESERVED1 column.
     * 
     * @return String
     */
    public String getReserved1() {
        return this.reserved1;
    }

    /**
     * Set the value of the RESERVED1 column.
     * 
     * @param reserved1
     */
    public void setReserved1(String reserved1) {
        this.reserved1 = reserved1;
    }

    /**
     * Return the value of the RESERVED3 column.
     * 
     * @return String
     */
    public String getReserved3() {
        return this.reserved3;
    }

    /**
     * Set the value of the RESERVED3 column.
     * 
     * @param reserved3
     */
    public void setReserved3(String reserved3) {
        this.reserved3 = reserved3;
    }

    /**
     * Return the value of the RESERVED4 column.
     * 
     * @return String
     */
    public String getReserved4() {
        return this.reserved4;
    }

    /**
     * Set the value of the RESERVED4 column.
     * 
     * @param reserved4
     */
    public void setReserved4(String reserved4) {
        this.reserved4 = reserved4;
    }

    /**
     * Return the value of the RESERVED5 column.
     * 
     * @return String
     */
    public String getReserved5() {
        return this.reserved5;
    }

    /**
     * Set the value of the RESERVED5 column.
     * 
     * @param reserved5
     */
    public void setReserved5(String reserved5) {
        this.reserved5 = reserved5;
    }

    /**
     * Return the value of the ATTR1 column.
     * 
     * @return String
     */
    public String getAttr1() {
        return this.attr1;
    }

    /**
     * Set the value of the ATTR1 column.
     * 
     * @param attr1
     */
    public void setAttr1(String attr1) {
        this.attr1 = attr1;
    }

    /**
     * Return the value of the ATTR2 column.
     * 
     * @return String
     */
    public String getAttr2() {
        return this.attr2;
    }

    /**
     * Set the value of the ATTR2 column.
     * 
     * @param attr2
     */
    public void setAttr2(String attr2) {
        this.attr2 = attr2;
    }

    /**
     * Return the value of the ATTR3 column.
     * 
     * @return String
     */
    public String getAttr3() {
        return this.attr3;
    }

    /**
     * Set the value of the ATTR3 column.
     * 
     * @param attr3
     */
    public void setAttr3(String attr3) {
        this.attr3 = attr3;
    }

    /**
     * Return the value of the ATTR4 column.
     * 
     * @return String
     */
    public String getAttr4() {
        return this.attr4;
    }

    /**
     * Set the value of the ATTR4 column.
     * 
     * @param attr4
     */
    public void setAttr4(String attr4) {
        this.attr4 = attr4;
    }

    /**
     * Return the value of the ATTR5 column.
     * 
     * @return String
     */
    public String getAttr5() {
        return this.attr5;
    }

    /**
     * Set the value of the ATTR5 column.
     * 
     * @param attr5
     */
    public void setAttr5(String attr5) {
        this.attr5 = attr5;
    }

    /**
     * Return the value of the ATTR6 column.
     * 
     * @return String
     */
    public String getAttr6() {
        return this.attr6;
    }

    /**
     * Set the value of the ATTR6 column.
     * 
     * @param attr6
     */
    public void setAttr6(String attr6) {
        this.attr6 = attr6;
    }

    /**
     * Return the value of the ATTR7 column.
     * 
     * @return String
     */
    public String getAttr7() {
        return this.attr7;
    }

    /**
     * Set the value of the ATTR7 column.
     * 
     * @param attr7
     */
    public void setAttr7(String attr7) {
        this.attr7 = attr7;
    }

    /**
     * Return the value of the ATTR8 column.
     * 
     * @return String
     */
    public String getAttr8() {
        return this.attr8;
    }

    /**
     * Set the value of the ATTR8 column.
     * 
     * @param attr8
     */
    public void setAttr8(String attr8) {
        this.attr8 = attr8;
    }

    /**
     * Return the value of the ATTR9 column.
     * 
     * @return String
     */
    public String getAttr9() {
        return this.attr9;
    }

    /**
     * Set the value of the ATTR9 column.
     * 
     * @param attr9
     */
    public void setAttr9(String attr9) {
        this.attr9 = attr9;
    }

    /**
     * Return the value of the ATTR10 column.
     * 
     * @return String
     */
    public String getAttr10() {
        return this.attr10;
    }

    /**
     * Set the value of the ATTR10 column.
     * 
     * @param attr10
     */
    public void setAttr10(String attr10) {
        this.attr10 = attr10;
    }

    /**
     * Return the value of the ATTR11 column.
     * 
     * @return String
     */
    public String getAttr11() {
        return this.attr11;
    }

    /**
     * Set the value of the ATTR11 column.
     * 
     * @param attr11
     */
    public void setAttr11(String attr11) {
        this.attr11 = attr11;
    }

    /**
     * Return the value of the ATTR12 column.
     * 
     * @return String
     */
    public String getAttr12() {
        return this.attr12;
    }

    /**
     * Set the value of the ATTR12 column.
     * 
     * @param attr12
     */
    public void setAttr12(String attr12) {
        this.attr12 = attr12;
    }

    /**
     * Return the value of the ATTR13 column.
     * 
     * @return String
     */
    public String getAttr13() {
        return this.attr13;
    }

    /**
     * Set the value of the ATTR13 column.
     * 
     * @param attr13
     */
    public void setAttr13(String attr13) {
        this.attr13 = attr13;
    }

    /**
     * Return the value of the ATTR14 column.
     * 
     * @return String
     */
    public String getAttr14() {
        return this.attr14;
    }

    /**
     * Set the value of the ATTR14 column.
     * 
     * @param attr14
     */
    public void setAttr14(String attr14) {
        this.attr14 = attr14;
    }

    /**
     * Return the value of the ATTR15 column.
     * 
     * @return String
     */
    public String getAttr15() {
        return this.attr15;
    }

    /**
     * Set the value of the ATTR15 column.
     * 
     * @param attr15
     */
    public void setAttr15(String attr15) {
        this.attr15 = attr15;
    }

    /**
     * Return the value of the ATTR16 column.
     * 
     * @return String
     */
    public String getAttr16() {
        return this.attr16;
    }

    /**
     * Set the value of the ATTR16 column.
     * 
     * @param attr16
     */
    public void setAttr16(String attr16) {
        this.attr16 = attr16;
    }

    /**
     * Return the value of the ATTR17 column.
     * 
     * @return String
     */
    public String getAttr17() {
        return this.attr17;
    }

    /**
     * Set the value of the ATTR17 column.
     * 
     * @param attr17
     */
    public void setAttr17(String attr17) {
        this.attr17 = attr17;
    }

    /**
     * Return the value of the ATTR18 column.
     * 
     * @return String
     */
    public String getAttr18() {
        return this.attr18;
    }

    /**
     * Set the value of the ATTR18 column.
     * 
     * @param attr18
     */
    public void setAttr18(String attr18) {
        this.attr18 = attr18;
    }

    /**
     * Return the value of the ATTR19 column.
     * 
     * @return String
     */
    public String getAttr19() {
        return this.attr19;
    }

    /**
     * Set the value of the ATTR19 column.
     * 
     * @param attr19
     */
    public void setAttr19(String attr19) {
        this.attr19 = attr19;
    }

    /**
     * Return the value of the ATTR20 column.
     * 
     * @return String
     */
    public String getAttr20() {
        return this.attr20;
    }

    /**
     * Set the value of the ATTR20 column.
     * 
     * @param attr20
     */
    public void setAttr20(String attr20) {
        this.attr20 = attr20;
    }

    /**
     * Return the value of the ATTR21 column.
     * 
     * @return String
     */
    public String getAttr21() {
        return this.attr21;
    }

    /**
     * Set the value of the ATTR21 column.
     * 
     * @param attr21
     */
    public void setAttr21(String attr21) {
        this.attr21 = attr21;
    }

    /**
     * Return the value of the ATTR22 column.
     * 
     * @return String
     */
    public String getAttr22() {
        return this.attr22;
    }

    /**
     * Set the value of the ATTR22 column.
     * 
     * @param attr22
     */
    public void setAttr22(String attr22) {
        this.attr22 = attr22;
    }

    /**
     * Return the value of the ATTR23 column.
     * 
     * @return String
     */
    public String getAttr23() {
        return this.attr23;
    }

    /**
     * Set the value of the ATTR23 column.
     * 
     * @param attr23
     */
    public void setAttr23(String attr23) {
        this.attr23 = attr23;
    }

    /**
     * Return the value of the ATTR24 column.
     * 
     * @return String
     */
    public String getAttr24() {
        return this.attr24;
    }

    /**
     * Set the value of the ATTR24 column.
     * 
     * @param attr24
     */
    public void setAttr24(String attr24) {
        this.attr24 = attr24;
    }

    /**
     * Return the value of the ATTR25 column.
     * 
     * @return String
     */
    public String getAttr25() {
        return this.attr25;
    }

    /**
     * Set the value of the ATTR25 column.
     * 
     * @param attr25
     */
    public void setAttr25(String attr25) {
        this.attr25 = attr25;
    }

    /**
     * Return the value of the ATTR26 column.
     * 
     * @return String
     */
    public String getAttr26() {
        return this.attr26;
    }

    /**
     * Set the value of the ATTR26 column.
     * 
     * @param attr26
     */
    public void setAttr26(String attr26) {
        this.attr26 = attr26;
    }

    /**
     * Return the value of the ATTR27 column.
     * 
     * @return String
     */
    public String getAttr27() {
        return this.attr27;
    }

    /**
     * Set the value of the ATTR27 column.
     * 
     * @param attr27
     */
    public void setAttr27(String attr27) {
        this.attr27 = attr27;
    }

    /**
     * Implementation of the equals comparison on the basis of equality of the
     * primary key values.
     * 
     * @param rhs
     * @return boolean
     */
    public boolean equals(Object rhs) {
        if (rhs == null)
            return false;
        if (!(rhs instanceof Resource))
            return false;
        Resource that = (Resource) rhs;
        if (this.getResId() != null && that.getResId() != null) {
            if (!this.getResId().equals(that.getResId())) {
                return false;
            }
        }
        return true;
    }

    
    /**
     * @return Returns the restypeName.
     */
    public String getRestypeName() {
        return restypeName;
    }
    /**
     * @param restypeName The restypeName to set.
     */
    public void setRestypeName(String restypeName) {
        this.restypeName = restypeName;
    }
}
